package team.southcat.wsyygh.hospital.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import team.southcat.wsyygh.common.result.Result;
import team.southcat.wsyygh.model.pojo.order.ScheduleOrderVo;

import java.util.List;

@FeignClient("service-hospital")
@Component
public interface HospitalFeignClient {

    @GetMapping("/api/hospital/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);

}
